import { S } from '../../s';
import { PSEditorImpl } from '../pseditor-impl';
import { IPSDatePicker } from './ipsdate-picker';

export class PSDatePickerImpl extends PSEditorImpl implements IPSDatePicker {
  get dateTimeFormat(): string {
    return this.M.dateTimeFormat;
  }
  get cls(): string {
    return 'PSDatePickerImpl';
  }
  instanceof(cls: string): boolean {
    if (cls == S._132) return true;
    return super.instanceof(cls);
  }
}
